﻿namespace Btstack
{
    public class Att
    {
        public const byte ATT_ERROR_SUCCESS = 0x00;
        public const byte ATT_ERROR_INVALID_HANDLE = 0x01;
        public const byte ATT_ERROR_READ_NOT_PERMITTED = 0x02;
        public const byte ATT_ERROR_WRITE_NOT_PERMITTED = 0x03;
        public const byte ATT_ERROR_INVALID_PDU = 0x04;
        public const byte ATT_ERROR_INSUFFICIENT_AUTHENTICATION = 0x05;
        public const byte ATT_ERROR_REQUEST_NOT_SUPPORTED = 0x06;
        public const byte ATT_ERROR_INVALID_OFFSET = 0x07;
        public const byte ATT_ERROR_INSUFFICIENT_AUTHORIZATION = 0x08;
        public const byte ATT_ERROR_PREPARE_QUEUE_FULL = 0x09;
        public const byte ATT_ERROR_ATTRIBUTE_NOT_FOUND = 0x0a;
        public const byte ATT_ERROR_ATTRIBUTE_NOT_LONG = 0x0b;
        public const byte ATT_ERROR_INSUFFICIENT_ENCRYPTION_KEY_SIZE = 0x0c;
        public const byte ATT_ERROR_INVALID_ATTRIBUTE_VALUE_LENGTH = 0x0d;
        public const byte ATT_ERROR_UNLIKELY_ERROR = 0x0e;
        public const byte ATT_ERROR_INSUFFICIENT_ENCRYPTION = 0x0f;
        public const byte ATT_ERROR_UNSUPPORTED_GROUP_TYPE = 0x10;
        public const byte ATT_ERROR_INSUFFICIENT_RESOURCES = 0x11;
    }
}
